<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}

<div class="x-nav">
	<span class="layui-breadcrumb">
		<a>首页</a>
		<a>会员管理</a>
		<a>会员列表</a>
	</span>
	<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
		<i class="layui-icon" style="line-height:30px">ဂ</i>
	</a>
	<a class="layui-btn layui-btn-small" style="line-height:1.6em;margin:3px 5px 0 0;float:right" href="?m={$m}&c={$c}" title="返回">
		<i class="layui-icon" style="line-height:30px">&lt;</i>
	</a>
</div>

<div class="x-body">
	<div class="layui-main">
		<form class="layui-form ajaxform" action="?m={$m}&c={$c}&a=edit_info" method="post">
			<input type="hidden" name="m" value="{$m}" />
			<input type="hidden" name="c" value="{$c}" />
			<input type="hidden" name="a" value="edit_info" />
			<input type="hidden" name="id" value="{$id}" />
			<div class="layui-form-item">
				<label class="layui-form-label">昵称：</label>
				<div class="layui-input-inline"><input type="text" name="nickname" value="{$data['nickname']}" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">手机：</label>
				<div class="layui-input-inline"><input type="text" name="mobile" value="{$data['mobile']}" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">姓名：</label>
				<div class="layui-input-inline"><input type="text" name="truename" value="{$data['truename']}" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱：</label>
				<div class="layui-input-inline"><input type="text" name="email" value="{$data['email']}" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">QQ：</label>
				<div class="layui-input-inline"><input type="text" name="qq" value="{$data['qq']}" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">微信：</label>
				<div class="layui-input-inline"><input type="text" name="wechat" value="{$data['wechat']}" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">登录密码：</label>
				<div class="layui-input-inline"><input type="text" name="password" placeholder="不修改请留空" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">支付密码：</label>
				<div class="layui-input-inline"><input type="text" name="paypassword" placeholder="不修改请留空" autocomplete="off" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>
			<!-- <div class="layui-form-item">
				<label class="layui-form-label">会员类型：</label>
				<div class="layui-input-block">
					{loop $gids as $key => $val}
					<input type="radio" name="gid" value="{$key}" title="{$val}" {if $key == $data['gid']}checked="checked"{/if}>
					{/loop}
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">投注功能：</label>
				<div class="layui-input-block">
					<input type="radio" name="invest" value="0" title="停用" {if !$data['invest']}checked="checked"{/if}>
					<input type="radio" name="invest" value="1" title="启用" {if $data['invest']}checked="checked"{/if}>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">代理返点：</label>
				<div class="layui-input-block">
					<input type="radio" name="profit" value="0" title="否" {if !$data['profit']}checked="checked"{/if}>
					<input type="radio" name="profit" value="1" title="是" {if $data['profit']}checked="checked"{/if}>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">返点比例：</label>
				<div class="layui-input-inline"><input type="text" name="rebate" value="{$data['rebate']}" placeholder="单位：%，如返点5%请填写5" class="layui-input"></div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div> -->
			<div class="layui-form-item">
				<div class="layui-input-block"><button class="layui-btn" type="submit">确定</button></div>
			</div>
		</form>
	</div>
</div>

{template index/footer}